package com.yazi.mxz.gather.entity.http;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonRootName;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;


/**
 * 广州优哆多贸易有限公司进口食品批发网分页查询响应结果
 * <br/>http://www.ydd668.com/search.asp?keyword=&sortid=0&pid=0&price=0&page=1，结构样板<br/>
 * <br/>&lt;form>
 * <br/>　&lt;div>
 * <br/>　　&lt;a href="/product-11000.html"> 
 * <br/>　　　&lt;img src="/upfile/smallpic/201581511334171616.jpg"> 
 * <br/>　　&lt;/a>
 * <br/>　&lt;/div>
 * <br/>　&lt;div>
 * <br/>　　&lt;a href="/product-11001.html"> 
 * <br/>　　　&lt;img src="/upfile/smallpic/201581511334171617.jpg"> 
 * <br/>　　&lt;/a>
 * <br/>　&lt;/div>
 * <br/>&lt;/form>
 * 
 * @author mo_yq5
 * @date 2015-8-15
 */
@JsonRootName("form")
public class Ydd668ResBody4List {
	
	@JacksonXmlElementWrapper(useWrapping = false)
	@JacksonXmlProperty(localName="div")
	List<Div> divs;

	public static class Div {
		A a;

		public A getA() {
			return a;
		}

		public void setA(A a) {
			this.a = a;
		}
	}
	public static class A {
		@JacksonXmlProperty(isAttribute=true)
		String href;// 详情地址
		Img img;
		public String getHref() {
			return href;
		}
		public void setHref(String href) {
			this.href = href;
		}
		public Img getImg() {
			return img;
		}
		public void setImg(Img img) {
			this.img = img;
		}
	}
	public static class Img {
		@JacksonXmlProperty(isAttribute=true)
		String src;// (小)图片

		public String getSrc() {
			return src;
		}

		public void setSrc(String src) {
			this.src = src;
		}
	}
	public List<Div> getDivs() {
		return divs;
	}

	public void setDivs(List<Div> divs) {
		this.divs = divs;
	}
	
}
